package com.dhcc.sds.base.dao;

import java.util.List;
import java.util.Map;

import com.dhcc.core.framework.result.node.ZTreeNode;
import com.dhcc.sdc.busi.entity.SdcQcEntity;
import org.apache.ibatis.annotations.Param;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.sds.base.entity.SdsQcentityEntity;

/**
 * 质控病种字典
 *
 * @ClassName: SdsQcentityMapper
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-03-22 10:10:52
 */
public interface SdsQcentityMapper  extends BaseMapper<SdsQcentityEntity> {

    List<SdsQcentityEntity> list(@Param("map")Map<String, Object> map);
    List<SdsQcentityEntity> page(@Param("page") Page<SdsQcentityEntity> page,@Param("map")Map<String, Object> map);
    List<ZTreeNode> tree();
    List<ZTreeNode> treeByType(@Param("map")Map<String, Object> map);

    //所有病种名称列表
    List<SdsQcentityEntity> listBtDesc();
    //病种名称
    String selectBtDescById(Long entity_id);
}
